cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           SmithNormalForm
version:        0.1.0.0
synopsis:       A simple, lightweight Haskell implementation of Smith normal form over the integers.
description:    This package contains an implementation of Smith normal form for arbitrary matrices over the integers. In particular, it does not assume that the matrix is invertible or square.
category:       Math, LinearAlgebra
author:         Brian Hwang
maintainer:     bhwang@math.cornell.edu
copyright:      2021 Brian Hwang
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

library
  exposed-modules:
      Data.Matrix.SmithNormalForm
      Data.Matrix.SmithNormalForm.Internal
  other-modules:
      Paths_SmithNormalForm
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , matrix >=0.3.6
    , vector >=0.10
  default-language: Haskell2010

test-suite SmithNormalForm-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_SmithNormalForm
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , SmithNormalForm
    , base >=4.7 && <5
    , hspec
    , matrix >=0.3.6
    , vector >=0.10
  default-language: Haskell2010
